
$mainColor: #e4bf6f;
$red:#ee6565;
$green:#67c042;
a:hover, a:visited, a:link, a:active {
    color: inherit;
}
html{
    background: #f4f4f4;
}
input , textarea{
    border: none;
    appearance: none;
    outline: none;
}
button{
    border: none;
    appearance: none;
    outline: none;
}
.left{
    float: left;
    i{
        color: #3c3c3c;
    }
}
.right{
    float: right;
}
.y-txt{
    color: $mainColor;
}
.r-txt{
    color: $red;
}
.g-txt{
    color: $green;
}
// 黄色背景，白色字体，宽度百分百的按钮
.y-btn{
    width: 100%;
    line-height: 2rem;
    // height: 2rem;
    text-align: center;
    color: #fff;
    background: $mainColor;
    border-radius: 1rem;
    font-size: .64rem;
}
// 输入框
.header{
    height: 2rem;
    line-height: 2rem;
    box-sizing: border-box;
    width: 100%;
    font-size: .68rem;
    text-align: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    background: #fff;
    padding: 0 .5rem;
    z-index: 2;
    position: relative;
}

.inputs{
    width: 100%;
    
    .icon-input{
        background: #f2f2f2;
        width: 100%;
        padding: .42rem;
        box-sizing: border-box;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-radius: 3px;
        margin-bottom: .5rem;
        overflow: hidden;
        i{
            color: #ccc;
            font-size: .8rem;
        }
        input{
            // flex: 999;
            box-sizing: border-box;
            background: #f2f2f2;
            width: 77%;
            height: 1.2rem;
            color: #333333;
            font-size: .64rem;
            padding-left: .5rem;
            :-moz-placeholder{
                color: #ccc;
            }
            ::-webkit-input-placeholder{
                color: #ccc;
            }
        }
    }
    .icon-input-group{
        display: flex;
        width: 100%;
        .icon-input{
            // flex: 999;
            width: calc(100% - 3.8rem);
            overflow: hidden;
            input{
                box-sizing: border-box;
            }
            
        }
        .getCode{
            width: 3.8rem;
            font-size: .64rem;
            color: $mainColor;
            // width: auto;
            text-align: center;
            background: #f2f2f2;
            line-height: 2rem;
            height: 2rem;
            margin-left: .2rem;
            border-radius: 3px;
            padding: 0 .2rem;
            white-space: nowrap;
        }
    }
    .login-miss-pd{
        font-size: .64rem;
        text-align: right;
        margin-bottom: 1rem;
        color: $mainColor;
    }
}

.item-lists{
    font-size: .6rem;
    color: #3c3c3c;
    background: #fff;
    img{
        width: .88rem;
    } 
    .item{
        display: flex;
        justify-content: space-between;
        align-items: center;
        line-height: 1.76rem;
        height: 1.76rem;
        box-sizing: border-box;
        margin-left: .6rem;
        .item-left{
            padding-right: .6rem;
            display: flex;
            align-items: center;
        }
        .item-right{
            color: #3c3c3c;
            flex-grow: 999;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #e2dfda;
            .r-left{
                display: flex;
                align-items: flex-start;
                justify-content: space-around;
                flex-direction: column;
                height: 1.76rem;
                line-height: 1;
                .s-time{
                    color: #999;
                    font-size: .52rem;
                }
            }
            i{
                color: #ccc;
            }
        }
    }
    a:last-child{
        .item-right{
            border-bottom: none;
        }
    }
}
// 佣金账户明细
.commission{
    .time{
        font-size: .6rem;
        color: #999;
        line-height: 1rem;
        margin-left: .5rem;
    }
    .item-lists{
        .item{
            height: auto;
            .item-right{
                padding: .4rem 0;
                .r-right{
                    .c-money{
                        font-size: .8rem;
                    }
                }
            }
        }
    }
    // 筛选
    .filter-shade{
        position: fixed;
        top: 2rem;
        left: 0;
        background: #616161;
        width: 100%;
        height: 100%;
        font-size: .6rem;
        display: none;
        .filter-content{
            padding-bottom: .8rem;
            .title{
                line-height: 3;
                padding-left: .5rem;
            }
            background: #f4f4f4;
            .filter-type{
                background: #fff;
                border-top: 1px solid #e2dfda;
                border-bottom: 1px solid #e2dfda;
                .filter-type-item{
                    line-height: 1.6rem;
                    text-align: center;
                    border-bottom: 1px solid #e2dfda;
                    i{
                        display: none;
                        color: $mainColor;
                    }
                }
                .filter-type-item:last-child{
                    border-bottom: none;
                }
                .active{
                    color: $mainColor;
                    i{
                        display: inline;
                    }
                }
            }
            .item-lists{
                border-top: 1px solid #e2dfda;
                border-bottom: 1px solid #e2dfda;
                .item{
                    .item-right{
                        padding: 0;
                        .r-right{
                            color: #ccc;
                        }
                    }
                }
            }
        }
    }
}



.login{
    padding: .8rem;
    box-sizing: border-box;
    .logo{
        text-align: center;
        margin-top: 2rem;
        img{
            width: 6.16rem;
            height: auto;
        }
    }
    .login-title{
        font-size: .8rem;
        position: relative;
        text-align: center;
        width: 100%;
        border-top: 1px solid #cccccc;
        margin-top: 2rem;
        span{
            position: relative;
            top: -1rem;
            display: inline-block;
            background: #fff;
            padding: .4rem;
        }
    }
    
}

.content{
    padding:0 .8rem ;
    margin-top: 1.5rem;
    .y-btn{
        margin-top: 1rem;
    }
}
// 登陆后的首页--销售端
.user-index{
    .panel{
        height: 6.16rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: url("../../img/wallet_bg.png") ;
        background-size: cover;
        width: 100%;
        .title{
            font-size: .6rem;
            color: #999;
        }
        .balance{
            font-size: 1.12rem;
        }
    }
    .user-msg{
        height: 2.56rem;
        line-height: 2.56rem;
        padding: 0 .64rem;
        background: #fff;
        margin-bottom: .68rem;
        .name{
            font-size: .8rem;
            color: #3c3c3c;
        }
        .invi-code{
            font-size: .6rem;
            color: #3c3c3c;
        }
    }
    .item-lists{
        margin-bottom: .5rem;
    }
}

// 佣金详情
.commission-detail{
    .item-lists{
        margin-top: .5rem;
        .item{
            .item-right{
                padding-right: .5rem;
                .r-right{
                    font-size: .68rem;
                }
                .r-left{
                    color: #999;
                }
            }
        }
    }
}
// 推荐记录
.invest-user{
    font-size: .6rem;
    .types-box{
        padding: .4rem .5rem;
        background: #fff;
        text-align: center;
        border-bottom: 1px solid #e2dfda;
        box-shadow: 0 0 3px rgba(0,0,0,.2);
        .types-content{
            display: flex;
            align-items: center;
            border: 1px solid $mainColor;
            color: $mainColor;
            line-height: 1.2rem;
            border-radius: .3rem;
            a{
                flex: 1;
                border-right: 1px solid $mainColor;
            }
            a:last-child{
                border-right: none;
            }
            .type-item{
                width: 100%;
                border-right: 1px solid $mainColor;
            }
            .type-item:last-child{
                border-right: none;
            }
            .active{
                background: $mainColor;
                color: #fff;
            }
        }
    }
    .accept-user-lists{
        padding-bottom: 2.5rem;
    }
    table.user-list{
        border-top: 1px solid #e2dfda;
        width: 100%;
        text-align: center;
        line-height: 1.76rem;
        border-collapse:collapse;
        margin-top: .5rem;
        .s-time{
            font-size: .52rem;
            line-height: 1;
            max-width: 3.6rem;
            
        }
        tr{
            border-bottom: 1px solid #e2dfda;
        }
        thead{
            background: #fff;
            tr{
                th:last-child{
                    max-width: 3.6rem;
                }
            }
        }
        tr:nth-child(even){
            background: #fff;
        }
        tbody{
            tr:nth-child(odd){
                background: #f9f9f9;
            }
        }
        
    }
}
.add-record{
    form{
        padding: .8rem;
    }
    .input-box{
        padding: .4rem;
        width: 100%;
        background: #f4f4f4;
        height: 8rem;
        box-sizing: border-box;        
        textarea{
            font-size: .64rem;
            width: 100%;
            height: 100%;
            background: #f4f4f4;
        }
    }
    .img-container{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        .img-item{
            margin-right: .64rem;
            margin-top: .5rem;
            img{
                width: 3.24rem;
                height: 3.24rem;
            }
        }
    }
}
.record-item{
    font-size: .6rem;
    color: #3c3c3c;
    padding: .5rem;
    border-bottom: 1px dashed rgba(0,0,0,0.2);
    .record-item__txt{
        font-size: .64rem;
        margin: .4rem 0;
    }
    .record-item__img-box{
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        .record-item__img-box-item{
            margin-right: .4rem;
            img{
                width: 3.5rem;
                height: 3.5rem;
            }
        }
    }
}
.record-item:last-child{
    border-bottom: none;
}
.add_img {
    margin-top: .5rem;
    width: 3.24rem;
    height: 3.24rem;
    margin-right: .64rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: .52rem;
    color: #ccc;
    background: #f4f4f4;
    border: 1px solid #e2e0da;
    margin-bottom: .6rem;
}

// 银行端登陆后首页
.bank-users-lists{
    background: #fff;
    margin-top: .5rem;
    .bank-user-item:first-child{
        border-top: 1px solid #e2dfda;
    }
    .bank-user-item{
        padding: .5rem;
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #e2dfda;
        .b-left{
            display: flex;
            justify-content: center;
            flex-direction: column;
            .name{
                font-size: .8rem;
                color: #3c3c3c;
                .sex{
                    font-size: .6rem;
                }
            }
            .phone-number{
                color: #44c2f8;
                font-size: .6rem;
            }
            .submit-time{
                font-size: .52rem;
                color: #999;
            }
        }
        .b-right{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding-left: .8rem;
            border-left: 1px dashed #e2dfda;
            .b-right-title{
                font-size: .52rem;
                color: #999;
            }
            .time-count-down{
                color: #ee6565;
                font-size: .6rem;
            }
            .button-box{
                width: 2.8rem;
                .y-btn{
                    line-height: 1.2rem;
                    font-size: .6rem;
                }
            }
            
        }
    }
}

.accept-user-lists{
    
    .accept-user-item{
        margin-top: .5rem;
        border-top: 1px solid #e2dfda;
        border-bottom: 1px solid #e2dfda;
        background: #fff;
        font-size: .6rem;
        color: #3c3c3c;
        .order-number{
            line-height: 2rem;
            padding: 0 .5rem;
        }
        .user-part{
            border-top: 1px dashed #e2dfda;
            // border-bottom: 1px dashed #e2dfda;
            padding: .5rem;
            .user-msg{
                display: flex;
                justify-content: flex-start;
                align-items: center;
                .name{
                    font-size: .8rem;
                }
                .phone-number{
                    color: #44c2f8;
                    margin-left: .3rem;
                }
            }
            .submit-time{
                color: #999;
                font-size: .52rem;
            }
        }
        .operate-part{
            padding: .4rem .5rem;
            text-align: right;
            border-top: 1px dashed #e2dfda;
            .o-button-box{
                width: 4rem;
                margin-left: .5rem;
                display: inline-block;
                .y-btn{
                    line-height: 1.2rem;
                    font-size: .6rem;
                    letter-spacing: initial;
                }
            }
        }

    }
}
.accept-user{
    padding-bottom: 2.5rem;
}
.interview{
    span.title{
        font-size: .8rem;
        color: #3c3c3c;
    }
    span.little-title{
        font-size: .6rem;
    }
    .detail{
        background: #fff;
        padding: .5rem .5rem 1rem .5rem;
        font-size: .6rem;
        &>div{
            margin-bottom: .5rem;
        }
        .y-btn{
            margin-top: .6rem;
        }
        .credit-limit{
            .title{
                padding-right: .5rem;
            }
            .input-box{
                width: 8rem;
                background: #f4f4f4;
                box-sizing: border-box;
                padding:.4rem;
                height: 2rem;
                display: flex;
                align-items: center;
                display: inline-block;
                // overflow: hidden;
                input{
                    background: inherit;
                    font-size: .6rem;
                    height: 1.2rem;
                    line-height: 1.2rem;
                    display: inline-block;
                    width: 100%;

                }
            }
            
        }
        .giveup{
            input{
                width: 100%;
                box-sizing: border-box;
                text-align: center;
                
            }
            ::-moz-placeholder{
                color: $mainColor;
            }
            ::-webkit-input-placeholder{
                color: $mainColor;
            }
            

        }
        .user-msg{
            .title{
                display: inline-block;
                padding-right: .5rem;
            }
            .name{
                font-size: .8rem;
                color: #3c3c3c;
            }
            .phone-number{
                color: #44c2f8;
                font-size: .6rem;
                display: inline-block;
            }
        }
        .interview-time{
            #time-choose, #cancel-reason{
                display: inline-block;
                width: 100%;
                line-height: 2rem;
                background: #f4f4f4;
                font-size: .6rem;
                text-align: center;
            }
            ::-moz-placeholder{
                color: $mainColor;
            }
            ::-webkit-input-placeholder{
                color: $mainColor;
            }
        }
        .inter-note{
            color: #999;
            width: 100%;
            box-sizing: border-box;
            textarea{
                display: block;
                width: 100%;
                background: #f4f4f4;
                padding: .5rem;
                font-size: .6rem;
                height: 5rem;
                box-sizing: border-box;
                
            }
        }
        
    }
    .note{
        padding: .5rem;
        .time-detail{
            font-size: .6rem;
            color: #999;
        }
        .more-note{
            font-size: .6rem;
            .more-note__sub{
                display: flex;
                .little-title{
                    white-space: nowrap;
                    margin-right: .5rem;
                }
            }
        }
    }

}
.user-detail{
    .user-detail__item--inline{
        display: flex;
        align-items: baseline;
        .title{
            white-space: nowrap;
            margin-right: .5rem;
        }
        div{
            display: inline-block;
        }
    }
}
.bank-footer{
    height: 2rem;
    display: flex;
    justify-content: center;
    position: fixed;
    width: 100%;
    background: #fff;
    bottom: 0;
    left: 0;
    z-index: 2;
    border-top: 1px solid #e2dfda;
    .footer-item{
        
        flex-grow: 1;
        color: #ccc;
        a{
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            font-size: .4rem;
            color: inherit;
            height: 2rem;
        }
        img{
            width: auto;
            height: .8rem;
            margin-bottom: .1rem;
        }
    }
    .active{
        i{
            color: $mainColor;
        }
        color: #3c3c3c;
    }
}
.fix-bottom{
    width: 100%;
    height: 2rem;
    line-height: 2rem;
    color: #fff;
    background: $mainColor;
    position: fixed;
    left: 0;
    bottom: 0;
    text-align: center;
    font-size: .64rem;
}
.white_bg{
    background: #fff !important;
}

// weui的覆盖
.weui-dialog__btn_primary, .weui-picker__action ,.weui_btn_dialog.primary{
    color: $mainColor;
}
.weui-picker__group{
    font-size: .68rem;
}
.weui-dialog__ft{
    font-size: .6rem;
}